package com.stillalive.springbootbooksystem.Service;

import com.stillalive.springbootbooksystem.Model.UserInfo;
import com.stillalive.springbootbooksystem.mapper.UserInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserInfoService {
    @Autowired
    UserInfoMapper userInfoMapper;
    public UserInfo getUserInfoByName(String userName){
        return userInfoMapper.queryUserInfoByName(userName);
    }
}
